// 用户表 杨鋆
const mongoose = require("./mongoose")

let Schema = mongoose.Schema

let userSchema = new Schema({
    username: String,
    password: String,
    name: { type: String, default: '商户' + Date.now() },
    info: {type:String,default:'暂无介绍'},
    img:{type:String,default:'https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=249589786,2941481629&fm=26&gp=0.jpg'},
    notice: {type:String,default:'暂无公告'},
})

module.exports = mongoose.model("users", userSchema)